package mx.entity;

public class Ticket {
	private Integer id;
	private Integer adultCount;// 成人个数
	private Integer childCount;// 儿童个数
	private Integer checkTicket;// 检票状态
	private Double totalPrice;// 总金额
	private String createTime;// 票生成时间

	private Double adultPrice;// 成人价
	private Double childPrice;// 儿童价

	private Manage manage;// 管理员实体
	private TicketOrder ticketOrder;// 订单实体
	private TicketType ticketType;// 票务类型实体
	
	public Integer getCheckTicket() {
		return checkTicket;
	}
	public void setCheckTicket(Integer checkTicket) {
		this.checkTicket = checkTicket;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getAdultCount() {
		return adultCount;
	}
	public void setAdultCount(Integer adultCount) {
		this.adultCount = adultCount;
	}
	public Integer getChildCount() {
		return childCount;
	}
	public void setChildCount(Integer childCount) {
		this.childCount = childCount;
	}
	public Double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public Double getAdultPrice() {
		return adultPrice;
	}
	public void setAdultPrice(Double adultPrice) {
		this.adultPrice = adultPrice;
	}
	public Double getChildPrice() {
		return childPrice;
	}
	public void setChildPrice(Double childPrice) {
		this.childPrice = childPrice;
	}
	public TicketType getTicketType() {
		return ticketType;
	}
	public void setTicketType(TicketType ticketType) {
		this.ticketType = ticketType;
	}
	public TicketOrder getTicketOrder() {
		return ticketOrder;
	}
	public void setTicketOrder(TicketOrder ticketOrder) {
		this.ticketOrder = ticketOrder;
	}
	public Manage getManage() {
		return manage;
	}
	public void setManage(Manage manage) {
		this.manage = manage;
	}
	@Override
	public String toString() {
		return "Ticket [id=" + id + ", adultCount=" + adultCount + ", childCount=" + childCount + ", checkTicket="
				+ checkTicket + ", totalPrice=" + totalPrice + ", createTime=" + createTime + ", adultPrice="
				+ adultPrice + ", childPrice=" + childPrice + ", manage=" + manage + ", ticketOrder=" + ticketOrder
				+ ", ticketType=" + ticketType + "]";
	}
	

}
